#! /usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = "Mosson"
from django.urls import path, re_path
from . import views

urlpatterns = [
    path(r"", views.CartAPIView.as_view(
             {"post": "add", "get": "list", "patch": "change_selected", "put": "change_expire", "delete": "del_cart"})),
    # 订单结算
    path(r"order/",views.CartAPIView.as_view({"get":"get_selected_course"})),
]
